package com.bean;

import java.io.Serializable;
import java.util.List;

public class Message implements Serializable {

	private static final long serialVersionUID = 1L;

	private User user;
	private Product product;
	private List<Product> allProducts;
	private String url;
	private String respCode;
	private String respDes;

	public Message(String url) {
		super();
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Message() {
		super();
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getRespCode() {
		return respCode;
	}

	public void setRespCode(String respCode) {
		this.respCode = respCode;
	}

	public String getRespDes() {
		return respDes;
	}

	public void setRespDes(String respDes) {
		this.respDes = respDes;
	}

	public List<Product> getAllProducts() {
		return allProducts;
	}

	public void setAllProducts(List<Product> allProducts) {
		this.allProducts = allProducts;
	}

	@Override
	public String toString() {
		return "Message [user=" + user + ", product=" + product
				+ ", allProducts=" + allProducts + ", url=" + url
				+ ", respCode=" + respCode + ", respDes=" + respDes + "]";
	}

}
